package com.cq.hd.order.api.vo;

import com.cq.hd.common.serialize.Decimal2Serializer;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class MonthSettleBillVo implements Serializable {

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "商家id")
    private Long businessId;

    @ApiModelProperty(value = "商户id")
    private Long merchantId;

//    @ApiModelProperty(value = "商家简称")
    private String businessShortName;

    @ApiModelProperty(value = "商家资金账户类型(1:自建资金账户 2:平台资金账户)")
    private Integer businessFinancialAccountType;

    @ApiModelProperty(value = "结算日期")
    private String settleDate;

    @ApiModelProperty(value = "金额")
    @JsonSerialize(using = Decimal2Serializer.class)
    private BigDecimal tradeAmt;

    @ApiModelProperty(value = "状态，1-待提现 2-提现中 3-已提现")
    private Integer status;

    @ApiModelProperty(value = "类型，1-本金 2-补贴")
    private Integer type;
}
